/* Fix user-agent */
/* 
* {
  box-sizing: border-box;
}

#submit {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 1rem;
  color: #fff;
  background: #80ddb2;
}
.modal-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 300px;
  height: 400px;
  margin: auto;
  border-radius: 5px;
  background: red;
}

.user-list-container {
  animation: userlist 1s linear;
  transition: all 1s;
  position: absolute;
  right: 0;
  bottom: 0px;
  width: 30%;
  height: 100%;
  background: #f2f2f2;
  padding-top: 20px;
  box-shadow: 0px 0px 5px 1px #2f2e2e;
}

@keyframes userlist {
  from {
    transform: scale(0);
    transform-origin: 100% 0;
  }
  to {
    transform: scale(1);
  }
}
.online_user_container {
  padding: 5px 16px;
}
.user-list {
  background: green;
}

.userinfo {
  border-bottom: 1px solid gray;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 5px;
}
html {
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

html,
input {
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue",
    Helvetica, Arial, "Lucida Grande", sans-serif;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
  word-wrap: break-word;
}

/* Pages */
 
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}

.left {
  width: max-content;
  border-right: 1px solid #80808038;
  padding: 0.5rem;
  background-color: #80808038;
}

.left ul {
  padding: 0;
  margin: 0;
  height: 100%;
  background-color: #ffffff;
}
.left li {
  list-style: none;
  width: 200px;
  vertical-align: middle;
  line-height: 60px;
  height: 60px;
  border-right: 1px solid #80808038;
  border-top: 1px solid #80808038;
  overflow: hidden;
}
.left li:first-child {
  border-top: none;
}

.left li:last-child {
  border-bottom: 1px solid #80808038;
}

.right {
  flex-grow: 1;
  text-align: center;
  position: relative;
  background-color: #80808038;
}

.right ul {
  padding: 1rem;
}
.chat {
  position: absolute;
  margin: 2rem auto;
  left: 10vw;
  right: 10vw;
  top: 10vh;
  bottom: 10vh;
  display: flex;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  max-width: 1024px;
}

.liselected {
  border-right: none;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 8px;
}

.list-item {
  width: 100%;
  display: flex;
  align-items: center;
  height: 100%;
}

.inner-item {
  flex-grow: 1;
  height: 48px;
}

.inner-item .nick {
  margin: 0 0 0 4px;
  line-height: 32px;
  font-weight: 500;
}

.inner-item .last-chat {
  margin: 0 0 0 4px;
  line-height: 16px;
  font-size: 12px;
}
.right header {
  border-bottom: 1px solid #80808038;
}
.right .content-box {
  position: relative;
  overflow: auto;
}
.right footer {
  background: #fff;

  position: absolute;
  bottom: 0;
  width: 100%;
  top: 70%;
  border-top: 1px solid #80808038;
}
.right header h1 {
  margin: 1rem auto;
}

.input textarea {
  width: 100%;
  border: none;
  resize: none;
  padding: 16px;
}

.buttons::after {
  content: "";
  display: block;
  clear: both;
}
#submit {
  float: right;
  margin-right: 8px;
}

.right li {
  list-style: none;
  margin-bottom: 8px;
}

.msg-left {
  text-align: left;
}

.msg-left .msg-left-box{
  display: flex;
}

.msg-left .msg-left-content {
  display: inline-block;
}

.msg-left .msg-left-content p{
  margin: 4px 12px;
}

 
.msg-content {
  display: inline-block;
  padding: 8px;
  background: #fff;
  border-radius: 5px;
  position: relative;
}

.left-triangle {
  margin-left: 10px;
}

.right-triangle {
  margin-right: 10px;
  margin-right: 10px;
  background: #2196F3;
  color: #fff;
}

.right-triangle:after {
  content: "";
  position: absolute;
  right: -20px;
  top: 8px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-left: 10px solid #2196F3;
  border-right: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.left-triangle:after {
  content: "";
  position: absolute;
  left: -20px;
  top: 4px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-left: 10px solid transparent;
  border-right: 10px solid #fff;
  border-bottom: 10px solid transparent;
}

.msg-right {
  text-align: right;
}


.header{
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 60px;
}

.header-box{
  display: flex;
  margin: auto;
  height: 100%;
  margin-right: 2rem;
  align-items: center;
  justify-content: flex-end;
}

.header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}